package com.qst.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 宣传新闻表
 * @TableName news
 */
@TableName(value ="news")
@Data
public class News {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Integer nId;

    /**
     * 标题
     */
    private String newsTitle;

    /**
     * 内容
     */
    private String newsDetail;

    /**
     * 状态
     */
    private String newsState;

    /**
     * 新闻类型
     */
    private String newsType;

    /**
     * 发布时间
     */
    private Date updateTime;

    public Integer getnId() {
        return nId;
    }

    public void setnId(Integer nId) {
        this.nId = nId;
    }

    public String getNewsTitle() {
        return newsTitle;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }

    public String getNewsDetail() {
        return newsDetail;
    }

    public void setNewsDetail(String newsDetail) {
        this.newsDetail = newsDetail;
    }

    public String getNewsState() {
        return newsState;
    }

    public void setNewsState(String newsState) {
        this.newsState = newsState;
    }

    public String getNewsType() {
        return newsType;
    }

    public void setNewsType(String newsType) {
        this.newsType = newsType;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}